/******************************************************************************/
STRUCT(Neighbor , Chr) // external Player
//{
   Str              name,
                    chat_message;
   InterpolatorTime time;
   Interpolator3    posi;
   InterpolatorA    angle;
   Interpolator1    stop_move, walk_run;
   Flt              chat_time;
   UInt             frame_animated;
   SkelAnim        *stand, *walk, *run, *fist_l, *fist_r;

   virtual Vec pos() {return posi();}

   // operations
   void said(Str text);

   void animate();

   // update
   virtual Bool update();

   // draw
   void draw2D     ();
   UInt drawPrepare();
   void drawShadow ();
   void drawBehind ();

   // network
   void operator=(ChrInfo    &ci);
   void operator=(ChrVisuals &cv);
   void operator=(ChrPos     &cp);

   Neighbor();
};
/******************************************************************************/
extern Map<SockAddr, Neighbor> Neighbors; // Key=TCP address, map of Neighbors accessed by their TCP address
/******************************************************************************/
